|
Automating printing plots in PDF format |
Print to PDF (Scripting)
If you have a software PDF printer driver installed (if using Windows 10 or later, you will have one installed with your operating system), you can output any plot sheet as a PDF document using the Project menu's Print option.
You can also automate the same using your product's rich automation interface.
This facility is currently only available for open pit survey scenarios.
Find out more about scripting Studio products...
Once a Studio application object has been instantiated, a method on the DmProject interface can be used to specify the name of the plot sheet to print and the output destination of the PDF document.
For example, in the following Javascript snippet, the active project's "From 3D" plot sheet will be exported to "C:\Database\MyProject":
oDmApp.ActiveProject.PrintPlotSheetToPDF("From 3D", "C:\\Database\\MyProject\\MyPrintout.pdf", "");
The comma-delimited parameters supporting PrintPlotSheetToPDF() are:
- The name of the Plot Sheet of the target project, in quotes
- The fully-qualified path to the output PDF document, in quotes
- (Optional) the name of the PDF printer driver to use when creating the image document. If not specified, the default PDF printer for your system will be used.
![]() |
Related Topics |
|
The Project Button |
Copyright © Datamine Corporate Limited
JMN 20045_00_EN